LaTex﷨

1LaTeXļĿ£

\documentclass{article}
\begin{document}
This is the body of the article
\end{document}

ģ\documentstyle{article}Ϊ
\documentstyle{carticle}

һ䣺\documentclass[ѡ]{}ȷƪµĴʽڿ߻һѡΪarticleٸϿȫָʽѡ塢ֺšҳʽֽŴСȵȡҲڿֱṩģ壬 Lecture Notes in Computer ScienceֻҪӦŵ{}OKˣҪԼȥϰ汾˴ʹ\documentstyle
 ǰһЩʹõĺǿܣ\usepackage{}.styļУùĺУCJK ֧Ļtimes TIMES壻graphicx ͼpyperrefóӡҲڿṩƸʽ IEEE Computer Society PressоC#includeһΪṩӿڡЩṩļdocumentclassѡӺϰ汾ݡ
ΪµĶĲ֣\begin{document}\end{document}ڡLatexöͷΧ HTMLıǩеƣпʼͽ־ʼλڻᶨһЩָʽ\pagestyle{ѡ}ҳʽemptyѡʾûҳüҳšȫԵõȡ
Ĳ±\title{}ȻϢ\author{Ϣ}Ϣбʾ\\УԶеġ\ andӣԶʽкŻ߾š\maketitleʾҳΪҳԱԶʽ
 ݸˡժҪ\begin{abstract}...\end{abstract}½Ϊ\section{һ} \subsection{ڶ}
ٺǲοײ֣ùһֹβ\begin{thebibliography}{}... \end{thebibliography}ڼ롰\bibitem{ؼ}Ϣõĵط\cite{ؼ}Զ˳ţ[1]ڶʹbibTexһݿļݿ.bibаֶдϢԼӦġùؼʡ bibTex.bblļа׾ݣĩβ\bibliography{ݿ}ļݣעݿܰոøʽͬǰķݿбõװʽĩδõ׿ʹ\nocite{ؼ}ʹĩһַĺôУһݿԹ׵ָʽ룬дҲԸõĿƸʽ׵˳򡣸ʽڵ\bibliographystyle{ʽ}иʽ.bstļLatexṩģҲڿλṩġ
 ӽṹϿŰˡݵһЩϸЩע㡣

ͼʹgraphicsܷ.epsʽͼƬһͼƬMatlabͼƬֱepsʽرأPSeps СͼƬһ㼯зŵǰĿ¼Ŀ¼УʹĿ¼ڵ\graphicspath{{Ŀ¼/}}{}٣ͼƬļʱʡĿ¼ָ.epsʱЧʸߡ
񣺱Ԫݳģʹ \rule[ʼλ]{}{߶}ﵽԤڸʽruleһΣʼλָ뵱ǰл׼ߵľ룬ֵʾڻ׼档
ͼ񡢹ʽϸԶŵıǩ\label{ؼ}ʱ\ref{ؼ}ԶӦš
 ŰˣĵҪע⼸㡣յʽãdviΪмԤ⣬һ㶼Ҫpdf

2.򵥵Ĺ
1ոLatexпոá
2Уÿ\\, \newline.
3ֶΣÿ\par ճһС
4ҳÿ\newpage\clearpage
5ַ#$, %, &, - ,{, }, ^, ~
 ҪЩƷ
 \# \$ \% \& \- \{ \} \^{} \~{} $\blackslash$ʾ \.

3ַת

rm  \it 
\bf  \sl б
\sf  \sc Сдĸ
\tt ֻ \mit ѧб

4ֺת

(pt) Ӧֺ 
25 һ \Huge
20  \huge
17  \LARGE
14 ĺ \Large
12 Сĺ \large
10  \normalsize
9 С \small
8  \footnotesize
7 С \scriptsize
5 ߺ \tiny

5̶

\smallskip \medskip \bigskip

6ҳ

\textwidth=14.5cm
\textheight=21.5cm

ϵͳĬϣֺ10pt= ֣Ϊ壻
textwidth=12.2cm,textheight=18.6cm൱׼ֽС

7ѧʽŰ

1ѧʽ״̬

 \begin{math} ѧʽ \end{math}
ʽ1 \( ѧʽ \)
ʽ2 $ ѧʽ $

2ѧʽ״̬

\begin{displaymath} ѧʽ \end{displaymath}

ʽ1 \[ ѧʽ \]
ʽ2 $$ ѧʽ $$

ѧʽı༭ʾ

ѧʽеĸ壺

$$
\begin{array}{l}
\mathrm{ABCDEFGHIJKLMNOPQRSTUVWXYZ}\\%
\mathtt{ABCDEFGHIJKLMNOPQRSTUVWXYZ}\\%ֻ
\mathbf{ABCDEFGHIJKLMNOPQRSTUVWXYZ}\\%
\mathsf{ABCDEFGHIJKLMNOPQRSTUVWXYZ}\\%
\mathit{ABCDEFGHIJKLMNOPQRSTUVWXYZ}\\%
\end{array}
$$

ѧʽ$Ϊڶʽ$$Ϊϱá^±á_ 磺
$ x^{y^{z^{w}}}=(1+{\rm e}^{x})^{-2xy^{w}} $
$y_1'+y_2''+y_3'''$
Su$^{\rm per}_{\rm b}$scriptȵȡ

ѧлĸ\cal. 磺
$\cal {ABCDEFGHIJKLMNOPQRSTUVW}$

Ƿ̻Ŀ̻Զţ1....
\begin{equation}
0.3x+y/2=4z
\end{equation}


$$\sum_{i=1}^{n} x_{i}=\int_{0}^{1}f(x)\, {\rm d}x $$
$$\sum_{{1\le i\le n}\atop {1\le j\le n}}a_{ij}$$
$\sum\limits_{i=1}^{n} x_{i}=\int_{0}^{1}f(x)\, {\rm d}x $ $\oint $

ѧʽʡԺţ
 $\cdots \ldots \vdots \ddots $

޵
$$\lim_{n \rightarrow \infty}\sin x_{n}=0$$ %nlim·
$\lim_{n \rightarrow \infty}\sin x_{n}=0$ %lim½

ʽŰ
$$x=\frac{y+z/2}{y^2+\frac{y}{x+1}}$$
$$a_0+\frac 1{\displaystyle a_1
 +\frac 1{\displaystyle a_2
 +\frac 1{\displaystyle a_3
 +\frac 1{\displaystyle a_4
 +\frac 1{\displaystyle {a_5}}}}}}$$

ʽŰ
$$x=\sqrt{1+\sqrt{1+\sqrt[n]{1+\sqrt[m]{1+x^{p}}}}}$$
$$x_{\pm}=\frac{-b\pm \sqrt{b^2-4ac}}{2a}$$

ȡģ
$\gcd(m,n)=a\bmod b$
$$x\equiv y \pmod{a+b}$$

Ű
$$
\begin{array}{clcr}
x+y+z & uv & a-b & 8\\
x+y & u+v & a & 88\\
x & 3u-vw & abc &888\\
\end{array}
$$

$$\left ( \begin{array}{c}
\left |\begin{array}{cc}
a+b&b+c\\c+d&d+a
\end{array}
\right |\\
y\\z
\end{array}\right )
$$

ѧŵΣ
1ϻ
$$\overline{1+\overline{1+\overline{x}^3}}$$

2»
$$\underline{1+\underline{1+\underline{x}^3}}$$

3ʽ
$$\overbrace{x+y+z+w}$$
$$\overbrace{a+b+\cdots +y+z}^{26}_{=\alpha +\beta}$$

4ʽ
$$a+\underbrace{b+\cdots +y}_{24}+z$$

5ñ
$$\hat{o}\ \ \check{o}\ \ \breve{o}$$
$$\widehat{A+B} \ \ \widetilde{a+b}$$
$$\vec{\imath}+\vec{\jmath}=\vec{k}$$

6
$$y\stackrel{\rm def}{=} f(x) \stackrel{x\rightarrow 0}{\rightarrow} A$$

ģӢLaTeXģ

(1)LaTeX2eģ壬ʱļչΪ.ctxģ%ע⣬߿ĶЩģеע⣬漰LaTeX2eĺ塣

\documentclass[11pt]{ccart}%ļ˵
%ѡcctbook
\setlength{\parindent}{12pt} %ȻεһеΪ12pt
\setlength{\parskip}{10pt plus1pt minus1pt}
%Ȼ֮ľΪ10pt8pt11pt֮仯
\setlength{\baselineskip}{8pt plus2pt minus1pt}
%мΪ8pt7pt10pt֮仯
\setlength{\textheight}{21true cm}%Ϊ21
\setlength{\textwidth}{14.5true cm}%Ϊ14.5
\begin{document}%Ŀʼ
\title{Thesis}%±⣬˫б\\ ʾ
\author{author\\Dept. of Math.}
 %λͨŵַȣ˫б\\ ʾ
\date{2003/8/5}
%дڣʡԴУΪд
\maketitle%ⲿ
%µ
\begin{center}%ο׵д
{\heiti ο}
\end{center}
\vskip 0.1cm
\def\hang{\hangindent\parindent}
\def\textindent#1{\indent\llap{#1\enspace}\ignorespaces}
\def\re{\par\hang\textindent}
\re{[1]} Nordhaus E,Stewart B,WhiteA.On the Maximum Genus of a Graph.{\it J.combinatorial Theory B},1971,11:258-267
\re{[2]} Skoviera M.The Maximum Genus of Graphs of Diameter Two.{\it Discrete
Math}.1991, 87:175-180
\end{document}%ԴļĽ

2ӢLaTeX2eģ

\documentclass[11pt]{article}%ļ˵
%ѡbook,report
\setlength{\parindent}{12pt} %ȻεһеΪ12pt
\setlength{\parskip}{10pt plus1pt minus1pt}
%Ȼ֮ľΪ10pt8pt11pt֮仯
\setlength{\baselineskip}{8pt plus2pt minus1pt}
%мΪ8pt7pt10pt֮仯
\setlength{\textheight}{21true cm}%Ϊ21
\setlength{\textwidth}{14.5true cm}%Ϊ14.5
\begin{document}%Ŀʼ
\title{Thesis}%±⣬˫б\\ ʾ
\author{author\\Dept. of Math.}
%λͨŵַȣ˫б\\ ʾ
\date{2003/8/5}
%дڣʡԴУΪд
\maketitle%ⲿ
%µ
\section{Introduction}%һ ԣԶţ
{\bf Theorem 1.} {\it For any fixed $\rho>0$, we have
$$||R(u,\rho)||\leq ||R_1(u,\rho)||\leq 2||R(u,\rho)||,~~~\forall u\in H.
\eqno(10)$$ Hence, (2) and (3) are equivalent for any fixed$\rho>0$.}
%һ㶨д
{\bf Proof.}
\begin{thebibliography}{99}
\bibitem{Kind} D. Kinderlehrer and G. Stampacchia, {\it An Introduction to Variational Inequalities and Their Applications}, Academic Press,New York,
(1980).
\end{thebibliography}%ο
\end{document}%ԴļĽ

()ѽ

1.:ps(PostScript)ļ

ش: ж
1dvipsߣWinEdt༭רһť
2ʹwindowsϵͳĻڴӡаװHP LaserJet 4/4M PostScriptDVIļʱ򣬴ӡļͿˡļǱΪ*.prnģֻҪΪ*.psͿˡ

2.: βͼ

ش:֪ķУ
1ʹemtexµimg2cct.exeߡ
ȽͼıΪɫBMPûʾͿ飬ڱʱһҪΪɫͼеɫBMPļtest.bmpȻִimg2cct test.bmp -t3 -c0 img2cctĲֱִ"img2cct.exe"鿴img2cct.exeɵtest.texļĴ뿽УʵλãͿˡ
2ʹ Scientific WorkPlace(Word) ûֻҪ˵File/Import PictureܾС
3ûͼLaTeXCAD,ֱӽͼLaTeXԡ
4ͼʽΪpsʽ
\usepackage{graphicx}
\begin{document}
\includegraphics{your.ps}
\end{document}

3.:ںܶµĶ,,, Ӷͳһ,Ƕ,綨1.1,Ƕ1.2,Ȼ1.3ôһܵĿܻʵԶı?

ش:\newtheorem{athm}{\heiti \t}[section]
 \newenvironment{thm} [1] {\def\t{#1}
 \begin{athm} \fangsong \rm} {\end {athm}}
 ʹüɣ
 \begin{thm}{}
 \end{thm}
  begin{thm}{}
 \end{thm} ȵ.

4.:ڹʽ,,Ҳ밴ԭĸʽ,綨4.2,
4.1.2. ߾ֱӶ123, ô޸?

ش: \renewcommand¶һ±žͿ.
 \renewcommand {\theequation} {\arabic{chapter}.
 \arabic{section}.\arabic{eqation}
¶žͳ4.1.2.(articlesectionsubsection)

5.:ôʹòֺͬź?(Ӣ)ôʹ˫ҳ?()
 \documentstyleѡ͸ʽʲô?

ش:1ֺ,ͨƪµֺ.򵥵ķǽһ\documentstyle[ѡ]{ʽ} еѡ޸ġ
(ѡ...,9pt,10pt(Ĭ),11pt,...;twoside,twocolumn,proc,oneside(Ĭ); leqno(Ĭ),fleqn,epsf. ʽbook,report,article,letter;cbook,carticle,...)
2ѡ˫ҳ,twoside,(cbookĬϾtwoside,ҳ,µҳҳ¡
3ĳֺŴС, Ӣ\tiny, \scriptsize, \footnotesize, \small, \normalize,\large, \Large, \LARGE, \huge, \Huge  \zihao{n} ˴nȡֵ: 0(),1(һ),2(),3(),4(ĺ),-4(С),5,-5,6,7ȡ
4, Ӣĳõ: \bf, \rm, \slб, \cal壬 \sc, \itʽȱʡ, \sf塣ĳ: \songti, \kaishu, \heiti, \fangsong, \biaosong,

5.⣺LaTeX Ŀ¼

ش1.ԼĿ¼ʽ۷㣬Ƕõļ㲻
1\def\mlA#1#2#3{\par\noindent\hspace*{1 true cm}\parbox[b]{12.3 true cm}
 {\protect\hspace*{-1 true cm}{#1}\quad{#2}~\dotfill~}
 \hbox to1.0 true cm{~(\hss#3\hss)}\vspace{2mm}}
2\def\mlB#1#2#3{\par\noindent\hspace*{1 true cm}\parbox[b]{12.3 true cm}
{\protect\hspace*{-1 true cm}{#1}~\dotfill~\hbox{#2}}
 \hbox to1.0 true cm{~(\hss#3\hss)}\vspace{2mm}}
3\def\mlC#1#2{\par\noindent\hspace*{1 true cm}\parbox[b]{12.3 true cm}
{\protect\hspace*{-1 true cm}\quad{#1}~\dotfill~}
\hbox to1.0 true cm{~(\hss#2\hss)}\vspace{2mm}}
4\def\mlD#1#2{\par\noindent\hspace*{1 true cm}\parbox[b]{12.3 true cm}
 {\protect\hspace*{-1 true cm}\quad{#1}~\hfill~}
 \hbox to1.0 true cm{~(\hss#2\hss)}\vspace{2mm}}

 2.ʹ÷£
 \mlA{title}{author}{page no.}
 Ч title author .................. (page no.)
 \mlB{title}{author}{page no.}
 Чtitle .......................... author (page no.)
 \mlC{title}{page no.}
 Ч title ......................... (page no.)
 \mlD{title}{page no.}
 Ч title (page no.)

6.⣺LaTeXʹʽž(1.2)ָʽ?

ش\documentclass{article}
 \usepackage{amsmath}
 \numberwithin{equation}{section}
 \begin{document}
 \section{my section}
 \begin{equation}
 x^2+y^2=1
 \end{equation}
 \end[document] 

CSDNͣתhttp://blog.csdn.net/nangergong/archive/2009/07/06/4324037.aspx